package com.example.okhttp;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author luoqifeng
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/testOkhttp")
    public String testOkhttp(){
        String s = OkHttpClientUtil.doGet("https://vtm-plat.dev.xinshiyun.com/css/common/getPublicKey");
        return s;
    }

}